<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ZH-CN">
<c:choose>
  <c:when test="${student_name }==null">
    <c:redirect url="/LWGL"></c:redirect>
  </c:when>
</c:choose>
<head>
<title>查看答辩信息</title>
<meta http-equiv="X-UA-Compatible" content="IE=9" >  
<meta name="keywords" content="吉珠,吉林大学,吉林大学珠海学院,吉林大学珠海学院论文管理">
<meta name="content-type" content="text/html" charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="${pageContext.request.contextPath}/pages1/css/bootstrap.css" type="text/css">
<script src="${pageContext.request.contextPath}/pages1/js/jquery-2.1.1.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/pages1/js/bootstrap.js" type="text/javascript"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/jquery-easyui-1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
<link rel="stylesheet" href="<%=request.getContextPath()%>/jquery-easyui-1.4.1/themes/gray/easyui.css" type="text/css"></link>
<link rel="stylesheet" href="<%=request.getContextPath()%>/jquery-easyui-1.4.1/themes/icon.css" type="text/css"></link>
<script type="text/javascript" src="<%=request.getContextPath()%>/jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
<style>
.col-xs-3 {
	padding: 1px;
	height: 540px;

}
.col-xs-9 {
	height: 540px;
	
}
.container {
	width: 1280px !important;
}

.xs11 {
	margin-top: 10px;
	margin-left: 30px;
}
#right
{
position:absolute;
right:0px;
width:300px;
}
#X
{
position:absolute;
right:35px;
width:35px;
top:2px;
}
#xs13 {
	height: 200px;
	width: 900px
}
#xs12 {
	height: 434px;
	width: 313px;
}
#xs2{
	width:700px;
	height:35px;
	}
#xs1 {
	height: 100px;
	width: 80px;
}
body {
	font-size: 12px;
}
ul {
	margin: 0;
	padding: 7px;
}
ul li {
	height: 22px;
	vertical-align: bottom;
}
.actived {height:25px;border-top:3px solid #ff9900;;border-right:1px solid #AAC7E9; border-left:1px solid #AAC7E9;border-bottom:1px solid #AAC7E9;background:#FFDAB9;}

.panel-group{padding:1px; margin：1px;}
</style>
<script type="text/javascript" language="javascript">
function g(o){return document.getElementById(o);}
function hoverli(n){
for(var i=1;i<=19;i++){
{g('tb_'+i).className='';}
g('tb_'+n).className='actived';}
}
function show(stuId){
$.ajax({
		url : '<%=request.getContextPath()%>/xsxt/checkGroupMsg',
		Type : 'post',
		success : function(r) {
			var a = r.Msg.replygrp_time.substring(0,11);
			var b="<li>答辩所在组别： "+r.Msg.replygrp_name+"</li>";
			var c="<li>答辩地点：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  "+r.Msg.replygrp_place+"";
			var e="<li>答辩时间：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  "+a+"</li>";
			var f="<li>答辩组长：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  "+r.Msg.replygrp_headname+"</li>";
			var g="<li>答辩组员：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  "+r.tchName+"</li>";
			var h="</ul>";
			var sw=b+c+e+f+g+h;
			$.messager.alert('论文答辩信息', sw);
		},
	});
}

function hide(id){
var traget=document.getElementById(id);
traget.style.display="none"; 
}

var checkApply_table;
$(function() {
	checkApply_table = $('#checkApply_table')
	.datagrid({
				url : '<%=request.getContextPath()%>/xsxt/checkApply_table',
				pagination : true,
				pageSize : 5,
				pageList : [ 5, 10, 20 ],
				singleSelect : true,
				fitColumns : true,
				rownumbers : true,
				columns : [ [
						{
							title : '论文选题名称',
							field : 'thesistitle_name',
							width : 100,
							align : 'center'
						},
						{
							title : '课题类型',
							field : 'thesistitle_type',
							width : 30,
							align : 'center',
						},
						{
							title : '课题来源',
							field : 'thesissource_name',
							width : 40,
							align : 'center'
						},
						{
							title : '指导教师',
							field : 'teacher_name',
							width : 30,
							align : 'center',
						},
						{
							title : '答辩通知',
							field : 'msg',
							width : 30,
							align : 'center',
							formatter : function(value, row, index) {
								var a ="<a data-toggle='collapse' data-parent='#accordion' href='#collapseDBXX'>";
								var b="<button type='button' class='btn btn-warning btn-xs' onClick=show('"+row.student_Id+"')>查看</button>";
								var c = "</a>";
								return a+b+c;
							},
						},
						] ],
				});
});

</script>



</head>

<body>
<!--全局框架 开始 conteiner-->
<div class="container"> 
  <!--标题头图片-->
  <div class="row">
    <div class="body_top"> <img src="${pageContext.request.contextPath}/pages1/img/head.png" align="center" width="1280px"/> </div>
  </div>
  <!--全局12栅格 规划全局区域图线 开始 row+ col-->
  <div class="row">
<jsp:include page="stu_siderbar.jsp"></jsp:include>
        
        <!--全局框架结束--> 

<!--右侧用户操作模块 占全局9栅格-->
    
<div class="col-xs-9"style="border:2px solid #25465d">
      <div class="row">
            <div class="col-xs-5  xs11" > <strong><font size="3">流程管理》查看答辩信息</font></strong> </div>
            <div class="col-xs-5 xs11" id="right">
              <p><b><font size="3">毕业设计流转状态：答辩阶段</p></b></font> </div>
          </div>
          <div class="row">
            <div class="col-xs-11  xs11">
              <div class="panel panel-default">
                <div class="panel-heading" align="left"> <a data-toggle="collapse" data-parent="#accordion"  href="#collapseHelp" class="glyphicon glyphicon-chevron-down"> 操作指南 </a> </div>
                <div id="collapseHelp" class="panel-collapse collapse">
                  <div class="panel-body">
                    <ul>
              <li>学生查看答辩过程的相关信息</li>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
          </div>
                        <div class="row">
            <div class="col-xs-11 xs11" style="margin-bottom:5px; margin-top:5px;">
              <form name="">
              
              <!-- 查看答辩组表格 -->
              
                <table id="checkApply_table" name="checkApply_table">
                </table>
                
                <!-- 表格结束 -->
                
            </div>
          </div>
          
          
          
         <div class="row">
                <div class="col-xs-11  xs11" style="margin-top:5px; margin-bottom:0px;">
                    <div class="panel panel-default" id="DBXX" style="display:none;" >
                    <div class="panel-heading" align="left" style="color:#4682B4;">论文答辩信息
                   <a data-toggle="collapse" data-parent="#accordion" href="#collapseDBXX"><img src="${pageContext.request.contextPath}/pages1/img/close.png" id="X" onClick="hide('DBXX');"></img></a>                    </div>
                   <div id="collapseDBXX" class="panel-collapse collapse">
                    <div class="panel-body">
                    </div>
           		 </div>
               </div> 
             </div>   
           </div>
        </div>
       </div>

<!--全局框架开始 conteiner-->
<div class="row" style="background-color:#25465d"">
  <p  align="center" style="color:white;background-color:#25465d"><strong>用户单位：</strong>吉林大学珠海学院&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>版权所有：</strong>吉林大学珠海学院计算机科学与技术系</p>
</div>
</div>
</body>
</html>
